package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Company;
import cn.wolfcode.crm.domain.Compensationinfo;
import cn.wolfcode.crm.query.CompensationInfoQueryObject;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface CompensationinfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Compensationinfo record);

    Compensationinfo selectByPrimaryKey(Long id);

    List<Compensationinfo> selectAll();

    int updateByPrimaryKey(Compensationinfo record);

    /*void deleteByCaseInfoId(Long id);*/

    int queryCount(CompensationInfoQueryObject qo);

    List<Compensationinfo> queryList(CompensationInfoQueryObject qo);


    Long selectInsureInfoIdByCaseInfoId(Long id);

    Compensationinfo selectByAid(Long id);
}